

class FactoryEnvironmentModel {
  String id;
  String name;
  List imgs;
  FactoryEnvironmentModel({this.id, this.name, this.imgs});
  FactoryEnvironmentModel.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    name = json['name'];
    if(json['imgs'] != null){
        imgs=json['imgs'];
    }
  }
   Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = Map<String, dynamic>();
    data['id'] = this.id;
    data['name'] = this.name;
    data['imgs'] = this.imgs;
    return data;
  }
}
